From: Cosimo Cecchi Date: Fri, 15 Feb 2013 23:26:24 +0000 (-0500) Subject: overviewControls: make dash private X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4836 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8ce3531de83f57aae41bd26a97121e6ef070ca38;p=gnome-shell.git overviewControls: make dash private https://bugzilla.gnome.org/show_bug.cgi?id=693924 --- diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js index 495731a90..dce5ca1a5 100644 --- a/js/ui/overviewControls.js +++ b/js/ui/overviewControls.js @@ -214,16 +214,16 @@ const DashSlider = new Lang.Class({ this.layout.slideDirection = SlideDirection.LEFT; - this.dash = dash; + this._dash = dash; // SlideLayout reads the actor's expand flags to decide // whether to allocate the natural size to its child, or the whole // available allocation - dash.actor.x_expand = true; - dash.actor.y_expand = true; - this.actor.add_actor(this.dash.actor); + this._dash.actor.x_expand = true; + this._dash.actor.y_expand = true; + this.actor.add_actor(this._dash.actor); - this.dash.connect('icon-size-changed', Lang.bind(this, this.updateSlide)); + this._dash.connect('icon-size-changed', Lang.bind(this, this.updateSlide)); }, getSlide: function() {